<html>
<head><meta charset="utf-8"><title>why are there two lang_item tables · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/why.20are.20there.20two.20lang_item.20tables.html">why are there two lang_item tables</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="222714379"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/why%20are%20there%20two%20lang_item%20tables/near/222714379" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Hughes <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/why.20are.20there.20two.20lang_item.20tables.html#222714379">(Jan 14 2021 at 13:12)</a>:</h4>
<p>What's the reason for the old <code>src/librustc_hir/lang_items.rs</code> table? Is it deprecated pending removal, or does it still serve some purpose that I'm not aware of?</p>



<a name="222715106"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/why%20are%20there%20two%20lang_item%20tables/near/222715106" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/why.20are.20there.20two.20lang_item.20tables.html#222715106">(Jan 14 2021 at 13:19)</a>:</h4>
<p>I might be missing something, but there's only <a href="https://github.com/rust-lang/rust/blob/a4f022e1099c712fdcc8555fd10caccb1a631877/compiler/rustc_hir/src/lang_items.rs#L159">one language item table</a> at <code>compiler/rustc_hir/src/lang_items.rs</code> - we don't define language items anywhere else?</p>



<a name="222715196"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/why%20are%20there%20two%20lang_item%20tables/near/222715196" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Hughes <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/why.20are.20there.20two.20lang_item.20tables.html#222715196">(Jan 14 2021 at 13:20)</a>:</h4>
<p>ugh, sorry, old checkout! user error</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>